<%--
  Created by IntelliJ IDEA.
  User: User
  Date: 2021/6/26
  Time: 14:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="wy" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>查看班级</title>
</head>
<body>
    <div id="mainBox">
        <h2>欢迎你，${teacher.t_name}</h2>
        <div id="classesBox">
            <ul>
                <li>班级编号</li>
                <li>班级名称</li>
                <li>开班日期</li>
                <li>操作</li>
            </ul>
            <wy:if test="${classList.size()==0}">

            </wy:if>
            <wy:forEach items="${classList}" var="c">
                <ul>
                    <li>${c.c_id}</li>
                    <li>${c.c_name}</li>
                    <li>${c.c_bri}</li>
                    <li><a href="/SelectStudentServlet?cid=${c.c_id}&cpage=1">查看学生</a></li>
                </ul>
            </wy:forEach>
        </div>
    </div>

</body>
<link rel="stylesheet" href="../css/index.css">
</html>
